/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.mobiubiq.directory.client.frame;

import org.kalmeo.kuix.core.Kuix;
import org.kalmeo.kuix.widget.Screen;

/**
 *
 * @author Marnix  Renne
 */
public class ScreenDefinitionBaseFrame extends AbstractBaseFrame {
    private String screenDefinition;
    
    public ScreenDefinitionBaseFrame(String screenDefinition) {
        super();
        this.screenDefinition = screenDefinition;
    }
    
    protected Screen loadScreen() {
        return Kuix.loadScreen(screenDefinition, null);
    }
    
    protected String getScreenDefintion() {
        return screenDefinition;
    }
}
